package com.lovegu.thrownable;

/**
 * @author 老顾
 * @title: MyException
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/22 14:55
 */
public class MyException extends Throwable {
    static final long serialVersionUID = 13465653435L;
    private int idnumber;
    public MyException(String message, int id) {
        super();
        this.idnumber = id;
    }
    public int getId() {
        return idnumber;
    }
}
